package com.vhall.component.service.rbac;


import com.vhall.component.entity.rbac.UserRoleEntity;
import com.vhall.component.entity.rbac.vo.UserAddRoleReqVO;
import com.vhall.component.entity.rbac.vo.UserDeleteRoleReqVO;

/**
 * @author dalong
 * @date 2021-05-11 16:13
 */
public interface RbacUserRoleService {

    /**
     * 查询用户角色id
     *
     * @param accountId
     * @param appId
     * @param status    状态
     * @return
     */
    UserRoleEntity getInfo(String accountId, String appId, Integer status);

    /**
     * 增加用户角色
     *
     * @param reqVO
     * @return
     */
    boolean batchCreate(UserAddRoleReqVO reqVO);

    /**
     * 删除用户角色
     *
     * @param reqVO
     * @return
     */
    boolean batchDelete(UserDeleteRoleReqVO reqVO);
}
